home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WMP 7.xpl < prev    next >
Text File  |  2003-11-19  |  1KB  |  52 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Program Options\Built in Windows Apps\Windows Media Player"
  5. "UIPATH 2"="Internet\Windows Media Player"
  6. "NAME"="Script Commands"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable Script Commands"
  9. "DESCRIPTION 1"="Determines if WMP will use embedded script commands to deliver synchronized multimedia presentations, advertising, and DRM license acquisitions.  This may disable certain functionality if disabled."
  10. "COMMENT 1"="Found in LockerGnome tip from Robert McKinnon"
  11. "VERSION"="1.02"
  12. "AUTHOR"="Xteq Systems (CptSiskoX)"
  13. "COPYRIGHT"="Copyright 2002 ⌐ Xteq Systems - All Rights Reserved"
  14. "CONTACTURL"="http://www.xteq.com/"
  15.  
  16.  
  17. sP="HKCU\Software\Microsoft\MediaPlayer\Preferences"
  18. sV1="HKCU\Software\Microsoft\MediaPlayer\Preferences\Player Script Commands Enabled" 'DW
  19.  
  20. Sub Plugin_Initialize 
  21. If RegPathExists(sP) then
  22.    i=RegReadValue(sV1)
  23.    if i=1 then SetUiElement 1,true
  24.  
  25. else
  26.    Call Disable()
  27. end if  
  28. End Sub
  29.  
  30.  
  31. Sub Plugin_CheckData(ElementIndex)
  32. End Sub
  33.  
  34.  
  35.  
  36. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  37.  b=GetUIElement(1)
  38.  if b=true then
  39.     i=1
  40.  else
  41.     i=0
  42.  end if
  43.  Call RegWriteValue(sV1,i,2)
  44. End Sub
  45.  
  46.  
  47. Sub Plugin_Terminate 
  48. End Sub
  49.  
  50.  
  51.  
  52.